package de.bloxel.controller;

import de.bloxel.core.events.Event;

/**
 * @author dorer
 *
 */
public class UIEvent extends Event {

  public enum Action{
    ToggleMenu
  }
  
  private final Action action; 
  
  public UIEvent(Action theAction ) {
    super("UIEvent");
    action=theAction;
  }
  
  public final Action getAction() { return action; }
  
  public final String toString() {
    return super.toString()+":"+action.toString();
  }

}
